package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class UserLikesExpert implements Serializable {
    private String ulikeexpertno;

    private String eno;

    private String uno;

    private static final long serialVersionUID = 1L;

    public String getUlikeexpertno() {
        return ulikeexpertno;
    }

    public void setUlikeexpertno(String ulikeexpertno) {
        this.ulikeexpertno = ulikeexpertno;
    }

    public String getEno() {
        return eno;
    }

    public void setEno(String eno) {
        this.eno = eno;
    }

    public String getUno() {
        return uno;
    }

    public void setUno(String uno) {
        this.uno = uno;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        UserLikesExpert other = (UserLikesExpert) that;
        return (this.getUlikeexpertno() == null ? other.getUlikeexpertno() == null : this.getUlikeexpertno().equals(other.getUlikeexpertno()))
            && (this.getEno() == null ? other.getEno() == null : this.getEno().equals(other.getEno()))
            && (this.getUno() == null ? other.getUno() == null : this.getUno().equals(other.getUno()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getUlikeexpertno() == null) ? 0 : getUlikeexpertno().hashCode());
        result = prime * result + ((getEno() == null) ? 0 : getEno().hashCode());
        result = prime * result + ((getUno() == null) ? 0 : getUno().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", ulikeexpertno=").append(ulikeexpertno);
        sb.append(", eno=").append(eno);
        sb.append(", uno=").append(uno);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}